 FROM openjdk:8-jre

 COPY target/skyeysnow-netdisk-1.0-SNAPSHOT.jar /app.jar

USER root

 ENTRYPOINT ["java", "-jar", "/app.jar"]

 EXPOSE 8082